package com.sxbbc.common.basics.utils.statics;

/**
 * description: 静态基础类
 *
 * @author leehao
 */
public class StaticUtils {

    /**
     * 基础状态 是(val=1)
     */
    public static final int STATUS_YES = 1;
    /**
     * 基础状态 否(val=0)
     */
    public static final int STATUS_NO = 0;

    /**
     * 默认密码，888888
     */
    public static final String DEFAULT_PASSWORD = "888888";
    /**
     * 申请状态，申请状态 初始状态(val=0)
     */
    public static final int STATUS_INIT = 0;
    /**
     * 申请状态，申请中(val=1)
     */
    public static final int STATUS_APPLY = 1;

    /**
     * 申请状态，审核通过(val=2)
     */
    public static final int STATUS_SUCCESS = 2;

    /**
     * 申请状态，审核驳回(val=3)
     */
    public static final int STATUS_FAIL = 3;

    /**
     * 申请状态，超时(val=4)
     */
    public static final int STATUS_TIME_OUT = 4;

    /**
     * 统计数据类型，日期(val="day")
     */
    public static final String DAY_DATA = "day";

    /**
     * 统计数据类型，周(val="week")
     */
    public static final String WEEK_DATA = "week";

    /**
     * 统计数据类型，月份(val="month")
     */
    public static final String MONTH_DATA = "month";

    /**
     * 应用图标位置-app,(val=1)
     */
    public static final Integer ICON_POSITION_APP = 1;

    /**
     * 应用图标位置-小程序,(val=2)
     */
    public static final Integer ICON_POSITION_PROGRAM = 2;

    /**
     * 应用图标位置-微信,(val=3)
     */
    public static final Integer ICON_POSITION_WX = 3;

    /**
     * 应用图标位置-pc,(val=4)
     */
    public static final Integer ICON_POSITION_PC = 4;

    /**
     * 应用图标类型-图标,(val=1)
     */
    public static final Integer ICON_TYPE_ICON = 1;

    /**
     * 应用图标类型-banner图,(val=2)
     */
    public static final Integer ICON_TYPE_BANNER = 2;

    /**
     * 应用图标类型-广告图,(val=3)
     */
    public static final Integer ICON_TYPE_ADVERT = 3;

    /**
     * 应用图标类型-分类图,(val=4)
     */
    public static final Integer ICON_TYPE_CLASSIFICATION = 4;

    /**
     * 产品权益-平台添加 (val=1)
     */

    public static final Integer PRODUCT_INTEREST_PLATFORM = 1;
    /**
     * 产品权益-商家添加 (val=2)
     */
    public static final Integer PRODUCT_INTEREST_BUSINESS = 2;

    /**
     * 手机号登录/注册
     */
    public static final int PHONE_LOGIN = 1;

    /**
     * 邮箱登录/注册
     */
    public static final int EMAIL_LOGIN = 2;

    /**
     * 账号登录/注册
     */
    public static final int ACCOUNT_LOGIN = 3;

    /**
     * 地址，中国范围的所有省(val=0)
     */
    public static final Integer ADDRESS_COUNTRY = 0;

    /**
     * 行业类型——店铺行业(val=1)
     */
    public static final Integer BUSINESS_INDUSTRY = 1;
    /**
     * 行业类型 ——基础行业(val=2)
     */
    public static final Integer BASE_INDUSTRY = 2;

    /**
     * 不限制提现次数(val=0)
     */
    public static final Integer CASH_NO_TYPE = 0;
    /**
     * 限制日提现次数(val=1)
     */
    public static final Integer CASH_DAY_TYPE = 1;
    /**
     * 限制周提现次数(val=2)
     */
    public static final Integer CASH_WEEK_TYPE = 2;
    /**
     * 限制月提现次数(val=3)
     */
    public static final Integer CASH_MOUTH_TYPE = 3;

    /**
     * 支出收入类型 支出(val=0)
     */
    public static final Integer PAY_OUT = 0;
    /**
     * 支出收入类型 收入(val=1)
     */
    public static final Integer PAY_IN = 1;

    /**
     * 键值对参数类型int(val=1)
     */
    public static final Integer PARAM_TYPE_INT = 1;
    /**
     * 键值对参数类型decimal(val=2)
     */
    public static final Integer PARAM_TYPE_DECIMAL = 2;
    /**
     * 键值对参数类型string(val=3)
     */
    public static final Integer PARAM_TYPE_STRING = 3;
    /**
     * 包邮(val=0)
     */
    public static final Integer EXP_FREE = 0;

    /**
     * 签到失败(val = 0)
     */
    public static final Integer SIGN_FAIL = 0;
    /**
     * 签到成功(val = 1)
     */
    public static final Integer SIGN_SUCCESS = 1;
    /**
     * 今日已签到 (val=2)
     */
    public static final Integer SIGN_REPEAT = 2;
    /**
     * 第三方登录QQ (val=1)
     */
    public static final Integer THIRD_QQ = 1;
    /**
     * 第三方登录WX (val=2)
     */
    public static final Integer THIRD_WX = 2;

    /**
     * 一级分类
     */
    public static final Integer FIRST_CLASSIFY = 1;

    /**
     * 二级分类
     */
    public static final Integer SECOND_CLASSIFY = 2;

    /**
     * 三级分类
     */
    public static final Integer THIRD_CLASSIFY = 3;

    /**
     * 订单支付类型 1表示为单笔支付 2表示购物车支付
     */
    public static final Integer ORDER_SINGLE_PAY = 1;
    public static final Integer ORDER_MORE_PAY = 2;

    /**
     * Excel最大记录行数
     */
    public static final Long EXCEL_MAX_LINE = 65535L;

    /**
     * 身份认证状态(0 未认证或认证被驳回 1 认证成功 2 认证在审核)
     */
    public static final Integer AUTHEN_STATUS_FAIL = 2;

    /**
     * 退款类型——仅退款(val=1)
     */
    public static final Integer ONLY_REFUND = 1;
    /**
     * 退款类型——退款退货(val=2)
     */
    public static final Integer ALL_REFUND = 2;
    /**
     * 不需要自动操作(订单收货之类)(val=-1)
     */
    public static final Integer NO_AUTO_OPERATIO = -1;

    /**
     * 冻结商家金额 val=1
     */
    public static final Integer FREEZE_BUSINESS_MONEY = 1;

    /**
     * 冻结用户积分 val=2
     */
    public static final Integer FREEZE_CUSTOMER_POINT = 2;

    /**
     * 统计平台数据 业务类型 统计用户账户 val=1
     */
    public static final Integer CUSTOMER_ACCOUNT_SUM = 1;

    /**
     * 统计平台数据 业务类型 统计代理账户 val=2
     */
    public static final Integer AGENT_ACCOUNT_SUM = 2;

    /**
     * 分享商品类型(val = 1)
     */
    public static final int SHARE_PRODUCT = 1;
    /**
     * 分享店铺类型(val = 2)
     */
    public static final int SHARE_BUSINESS = 2;
    /**
     * 分享二维码类型(val = 3)
     */
    public static final int SHARE_QRURL = 3;
    /**
     * 团购邀请好友拼团
     */
    public static final int SHARE_GROUP = 4;

    /**
     * 特殊标记
     */
    public static final String SPECIAL_STRING_FLAG = "LAYUI";

    /**
     * 会员等级标识
     */

    //性别
    public static final int SEX_SECRECY = 0;
    public static final int SEX_MAN = 1;
    public static final int SEX_WOMAN = 2;

    //套餐等级 需要和鸡舍等级表中的等级V1、V2、V3一致
    public static final int FARM_1 = 1;
    public static final int FARM_2 = 2;
    public static final int FARM_3 = 3;

    //类型1：提鸡券，2：基金
    public static final int FARM_EWAY_OWN = 1;
    public static final int FARM_EWAY_OTHER = 2;

    //region 商家中心静态常量

    /**
     * 1：查询日营业额，2：查询月营业额
     */
    public static final Integer DATE_TYPE_DAY = 1;
    public static final Integer DATE_TYPE_MONTH = 2;

    //endregion

    /**
     * 商家主账号角色id 不含农场管理
     */
    public static final int BUSINESS_ROLE_1 = 1;

    /**
     * 商家主账号角色id 含有农场管理
     */
    public static final int BUSINESS_ROLE_2 = 2;

    /**
     * 代理账号角色id
     */
    public static final int AGENT_ROLE_1 = 1;

}
